package net.huashitong.ssydt.user.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.10
 */
public class BindingWeChatVO implements Serializable {

    private static final long serialVersionUID = -5575063120542054203L;

    @ApiModelProperty(value = "unionid对开放平台账号唯一", required = true)
    @NotBlank(message = "unionid不能为空")
    private String unionid;//unionid对开放平台账号唯一

    @ApiModelProperty(value = "openid对应用唯一")
    private String openid;//openid对应用唯一

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
}
